import React, {Component} from 'react';
import {Tabs} from 'antd-mobile';
import SingleAlbums from "../SingleAlbum";

class SlideArea extends Component {
    render() {
        const {items,path,state} = this.props;
        return (
            <Tabs>
                {items.map((item,index)=>{
                    return <Tabs.Tab title={<SingleAlbums item={item} path={path} state={state}/>} key={index}>
                    </Tabs.Tab>
                })}
            </Tabs>
        );
    }
}

export default SlideArea;